<%= render "/shared/header" %>
<div class="mainbox">
	<div class="container container-fluid">
		<%= notice_message %>
		<div class="row">
			<div id="home_page">
				<div id="recommend">
					<% cache ['home_suggest_movie_ids',SiteConfig.home_suggest_movie_ids] do %>
					<ul class="items">
						<%= render :partial => "movie", :collection => Home.suggest_movies %>
					</ul>
					<% end %>
				</div>

				<% cache ['home_us_movie_ids',SiteConfig.home_us_movie_ids] do %>
				<div class="other_rcd">
					<h2><%= link_to "美国电影", movies_path(:country => "美国") %></h2>
					<ul class="items">
						<%= render :partial => "movie", :collection => Home.us_movies %>
					</ul>
				</div>
				<% end %>

				<% cache ['home_cn_movie_ids',SiteConfig.home_cn_movie_ids] do %>
				<div class="other_rcd right">
					<h2><%= link_to "中国电影", movies_path(:country => "中国") %></h2>
					<ul class="items">
						<%= render :partial => "movie", :collection => Home.cn_movies %>
					</ul>
				</div>
				<% end %>

				<% cache ['home_series_ids',SiteConfig.home_series_ids] do %>
				<div class="other_rcd">
					<h2><%= link_to "电视剧", series_movies_path %></h2>
					<ul class="items">
						<%= render :partial => "movie", :collection => Home.series %>
					</ul>
				</div>
				<% end %>

				<% cache ['home_kr_movie_ids',SiteConfig.home_kr_movie_ids] do %>
				<div class="other_rcd right">
					<h2><%= link_to "韩国电影", movies_path(:country => "韩国") %></h2>
					<ul class="items">
						<%= render :partial => "movie", :collection => Home.kr_movies %>
					</ul>
				</div>
				<% end %>

				<% cache ['home_cartoon_movie_ids',SiteConfig.home_cartoon_movie_ids] do %>
				<div class="other_rcd">
					<h2><%= link_to "动漫", movies_path(:category => "动画") %></h2>
					<ul class="items">
						<%= render :partial => "movie", :collection => Home.cartoon_movies %>
					</ul>
				</div>
				<% end %>

			</div>
		</div>
	</div>
</div>
<%= render "/shared/footer" %>
